﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace ASEPMainProgram.Entities.MainFrame
{
    /// <summary>
    /// 树结构实体
    /// </summary>
    public class TreeEntity
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        [Column(TypeName = "varchar(64)")]
        public string ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string TreeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(255)")]
        public string TreeName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string RegGroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string CreateBy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "datetime")]
        public DateTime CreateOn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "int")]
        public int TreeLevel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "int")]
        public int State { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(255)")]
        public string Remark { get; set; }

    }
}
